package com.hdoit.ares.web.cust.modelconfig;


import com.hdoit.ares.web.cust.providers.CustPosterTypeProvider;
import com.tennetcn.component.attribute.DisplayNameAttribute;
import com.tennetcn.component.attribute.DropDownListAttribute;
import com.tennetcn.component.attribute.base.ModelMetadataAttributeConfiguration;

public class CustPosterConfig extends ModelMetadataAttributeConfiguration{
	public CustPosterConfig(){
		
		this.setProperty("posterImg")
			.hasAttribute(new DisplayNameAttribute("海报"));
		
		this.setProperty("posterType")
			.hasAttribute(new DisplayNameAttribute("海报类型"))
			.hasAttribute(new DropDownListAttribute(new CustPosterTypeProvider()));
		
		this.setProperty("descript")
			.hasAttribute(new DisplayNameAttribute("描述"));

	
	}
}
